#ifndef DWGPOINTITEM_H
#define DWGPOINTITEM_H

#include "dwgobjectitem.h"

class DwgPointItem : public DwgObjectItem
{
    Q_OBJECT
public:
    DwgPointItem();

    // QGraphicsItem interface
public:
    QRectF boundingRect() const;
    void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
    bool Select();
    qreal mx,my;		// 这两个变量用于存储点的中心坐标。

    // QGraphicsItem interface
protected:
    void mousePressEvent(QGraphicsSceneMouseEvent *event);
};

#endif // DWGPOINTITEM_H
